package com.example.om_export.common.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 自定义字段存放位置
 * 记得生成get set方法
 * @author wb-ycl473317
 */
@Component
@ConfigurationProperties("custom")
public class CustomVar {

    /**
     * 顶级父id
     * 用在那种有层级结构的表查询中例如 区域表的顶级父id
     */
    private String topParentId;

    /**
     * 上传文件的根目录,无论什么类型文件
     */
    private String uploadPath;

    /**
     * 可装状态
     */
    private Integer active;

    /**
     * 不可用状态
     */
    private Integer quiet;

    private String resetPasswordEmail;

    private String attachmentDir;

    private String defaultPassword;

    private String appid;

    private String secret;


    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getResetPasswordEmail() {
        return resetPasswordEmail;
    }

    public void setResetPasswordEmail(String resetPasswordEmail) {
        this.resetPasswordEmail = resetPasswordEmail;
    }

    public String getAttachmentDir() {
        return attachmentDir;
    }

    public void setAttachmentDir(String attachmentDir) {
        this.attachmentDir = attachmentDir;
    }

    public String getDefaultPassword() {
        return defaultPassword;
    }

    public void setDefaultPassword(String defaultPassword) {
        this.defaultPassword = defaultPassword;
    }

    public Integer getActive() {
        return active;
    }

    public void setActive(Integer active) {
        this.active = active;
    }

    public Integer getQuiet() {
        return quiet;
    }

    public void setQuiet(Integer quiet) {
        this.quiet = quiet;
    }

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }

    public String getTopParentId() {
        return topParentId;
    }

    public void setTopParentId(String topParentId) {
        this.topParentId = topParentId;
    }
}
